<?php

//defined('BASEPATH') or die('forbidden');
/**
 * 数据库配置
 * @author  Karson
 * @name    db.php
 * @since   2013-3-27 13:54:08
 */
$config['db'] = array(
    'library' => 'database',
    'type' => 'mysql',
    'host' => isset($_SERVER['db_host']) ? $_SERVER['db_host'] : '192.168.31.69',
    'name' => isset($_SERVER['db_name']) ? $_SERVER['db_name'] : 'game_manager_gm',
    'user' => isset($_SERVER['db_user']) ? $_SERVER['db_user'] : 'root',
    'password' => isset($_SERVER['db_password']) ? $_SERVER['db_password'] : '123456',
    'pconnect' => false,
    'debug' => false,
    'prefix' => 'tt_',
);

//备份数据库
$config['backup_db'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'game_manager_gm',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => 'tt_',
);

//中心数据库
$config['center_db'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'game_manager_gm',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => 'tt_',
);

//type表数据库
$config['type_db'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'game_manager_gm',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => '',
);

//支付数据库
$config['payment_db'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'game_manager_gm',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => 'tt_',
);

//支付服务器备份数据库
$config['payment_db_backup'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'game_manager_gm',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => 'tt_',
);

//日志记录数据库
$config['log_db'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'db_log',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => false,
    'debug' => true,
    'prefix' => '',
);

//数据报表数据库
$config['report_db'] = array
(
        'library' => 'database',
        'type' => 'mysql',
        'host' => '192.168.31.69',
        'name' => 'game_manager_gm',
        'user' => 'root',
        'password' => 'root',
        'pconnect' => false,
        'debug' => true,
        'prefix' => 'tt_',
);

//用户反馈
$config['buglist'] = array
    (
    'library' => 'database',
    'type' => 'mysql',
    'host' => '192.168.31.69',
    'name' => 'game_manager_gm',
    'user' => 'root',
    'password' => '123456',
    'pconnect' => true,
    'debug' => true,
    'prefix' => 'tt_',
);
?>
